package Demo1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: adol book
 * Date: 2022-05-03
 * Time: 17:03
 */
class MAN{
    public MAN(){
        muc();
    }
    public void muc(){
        System.out.println("MAN");
    }
}
class UN extends MAN{
    private int t = 9;
    @Override
    public void muc() {
        System.out.println("UM"+t);
    }
}
public class demo4 {
    public static void main(String[] args) {
        UN un = new UN();
        un.muc();
    }
}
